package com.huqing.icu.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.sql.Timestamp;

/**
 * @Description 帖子面板数据表实体类
 * @Author huqing
 * @Date 2025/5/17 18:29
 **/
@TableName(value = "community_post_statistics")
@Data
public class CommunityPostStatistics {

    @Schema(name = "id", description = "主键ID")
    @TableId("id")
    private Long id;

    @Schema(name = "postId", description = "帖子ID")
    private Long postId;

    @Schema(name = "actualLikeNum", description = "点赞数")
    private Long actualLikeNum;

    @Schema(name = "actualFavoriteNum", description = "收藏数")
    private Long actualFavoriteNum;

    @Schema(name = "actualViewUserNum", description = "浏览人数")
    private Long actualViewUserNum;

    @Schema(name = "actualViewNum", description = "浏览次数")
    private Long actualViewNum;

    @Schema(name = "actualCommentNum", description = "评论次数")
    private Long actualCommentNum;

    @Schema(name = "创建时间", description = "创建时间")
    private Timestamp createTime;

    @Schema(name = "modifyTime", description = "修改时间")
    private Timestamp modifyTime;
}
